package com.woniu.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName("t_patrol")
@ApiModel(value = "patrol对象",description = "巡检人员")
public class Patrol {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    @ApiModelProperty("巡检员名称")
    private String name;
    @ApiModelProperty("巡检员手机号")
    private String phone;
    @ApiModelProperty("巡检员密码")
    private String password;
    @ApiModelProperty("巡检员头像")
    private String headImage;
    @ApiModelProperty("巡检员执勤开始时间")
    private String startTime;
    @ApiModelProperty("巡检员执勤结束时间")
    private String endTime;
    @ApiModelProperty("巡检员状态")
    private String status;
    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @ApiModelProperty("上次修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @TableLogic
    private String isDeleted;
}
